Skip to content

Don't install (nor run) mypy on PyPy (librt build failures)#187

Merged
jaraco merged 2 commits intojaraco:mainfrom
Avasam:patch-3
Mar 13, 2026
Merged

Don't install (nor run) mypy on PyPy (librt build failures)#187
jaraco merged 2 commits intojaraco:mainfrom
Avasam:patch-3

Conversation

@Avasam
Copy link
Contributor

@Avasam Avasam commented Dec 7, 2025

Static type checking doesn't need to be run on PyPy.
This saves a bit of time and also prevents sudden unexpected failure from incompatibilities.

The latest reason is that librt, a new mypy dependency used for their new cache, doesn't build on PyPy.

But it's not the first time mypy can't be run on PyPy and it's not like running static type checking on PyPy actually brings anything other than wasting time. So I used a more generalized explanation so we're not tempted to remove the install exclusion.

@jaraco jaraco merged commit d9b029b into jaraco:main Mar 13, 2026
13 of 15 checks passed
@Avasam Avasam deleted the patch-3 branch March 13, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants